<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Design extends CI_Controller {

	public function index() 
	{
		$this->home();
	}

	function home() {
		$data['template'] = 'home';
		$this->load->view('design/template', $data);
	}
	function mhistory() {
		$data['template'] = 'history';
		$this->load->view('design/template', $data);
	}
	function article() {
		$data['template'] = 'article';
		$this->load->view('design/template', $data);
	}
	function skrollr() {
		$this->load->view('design/skrollr');
	}
	// function home() {
	// 	$data['template'] = 'home';
	// 	$this->load->view('design/home', $data);
	// }
	function lesson() {
		$this->load->view('app_templates/lesson');
	}
	function lesson2() {
		$this->load->view('app_templates/lesson2');
	}
}

?>